package com.ims.core.doc.mapper;

import java.util.List;
import com.ims.core.doc.domain.TInInvoiceFolder;

/**
 * 进项票夹Mapper接口
 *
 * @author IMS
 * @date 2024-11-10
 */
public interface TInInvoiceFolderMapper
{
    /**
     * 查询进项票夹
     *
     * @param id 进项票夹主键
     * @return 进项票夹
     */
    public TInInvoiceFolder selectTInInvoiceFolderById(Long id);

    /**
     * 查询进项票夹
     *
     * @param folderId 进项票夹ID
     * @return 进项票夹
     */
    public TInInvoiceFolder selectTInInvoiceFolderByFolderId(String folderId);

    /**
     * 查询进项票夹列表
     *
     * @param tInInvoiceFolder 进项票夹
     * @return 进项票夹集合
     */
    public List<TInInvoiceFolder> selectTInInvoiceFolderList(TInInvoiceFolder tInInvoiceFolder);

    /**
     * 新增进项票夹
     *
     * @param tInInvoiceFolder 进项票夹
     * @return 结果
     */
    public int insertTInInvoiceFolder(TInInvoiceFolder tInInvoiceFolder);

    /**
     * 修改进项票夹
     *
     * @param tInInvoiceFolder 进项票夹
     * @return 结果
     */
    public int updateTInInvoiceFolder(TInInvoiceFolder tInInvoiceFolder);

    /**
     * 删除进项票夹
     *
     * @param id 进项票夹主键
     * @return 结果
     */
    public int deleteTInInvoiceFolderById(Long id);

    /**
     * 删除进项票夹
     *
     * @param folderId 进项票夹ID
     * @return 结果
     */
    public void releaseInInvoiceFromFolder(String folderId);

    /**
     * 批量删除进项票夹
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTInInvoiceFolderByIds(Long[] ids);
}
